<?php
	$name=$_REQUEST['name'];
	$dept=$_REQUEST['dept'];
	$img=$_REQUEST['imgurl'];
	$date_of_birth=$_REQUEST['date_of_birth'];
	$date_of_entry=$_REQUEST['date_of_entry'];
	require 'db_conn.php';
	$sql="INSERT into tb_emp(e_name,e_dept,date_of_birth,date_of_entry,e_img) VALUES('$name','$dept','$date_of_birth','$date_of_entry','$img')";
	$rs=$db->query($sql);
	if($rs){
		Header('Location:index.php');
	};
?>